//
//  MKUIElementViewButton.h
//  MKUI
//  iconImage和title居中显示,subtitle隐藏
//  Created by 苏尚进 on 2023/7/10.
//  Copyright © 2023 moon. All rights reserved.
//

#import "MKUIElementViewBase.h"
#import "MKUIFlowLayoutConstraint.h"

typedef enum : NSUInteger {
    MKUIElementViewButtonStyleCustom,//自定义
    MKUIElementViewButtonStyleDefault,//蓝色
    MKUIElementViewButtonStyleDestructive,//红色
} MKUIElementViewButtonStyle;

NS_ASSUME_NONNULL_BEGIN
@interface MKUIElementViewButton : MKUIElementViewBase
@property(nonatomic,assign) MKUIElementViewButtonStyle buttonStyle;
@property(nonatomic,strong) MKUIFlowLayoutConstraint *flowLayoutConstraint;//iconImage和title居中显示的布局约束
@end
NS_ASSUME_NONNULL_END

NS_ASSUME_NONNULL_BEGIN
@interface MKUIElementListViewCellButton : MKUIElementListViewCellBase
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-property-synthesis"
@property(nonatomic,readonly,nullable) __kindof MKUIElementViewButton *elementView;
#pragma clang diagnostic pop
@end
NS_ASSUME_NONNULL_END

NS_ASSUME_NONNULL_BEGIN
@interface MKUIElementTableViewCellModelButton : MKUIElementTableViewCellModelBase
@property(nonatomic,assign) MKUIElementViewButtonStyle el_buttonStyle;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-property-synthesis"
@property(nonatomic,readonly,nullable) __kindof MKUIElementViewButton *el_elementView;
#pragma clang diagnostic pop
@end

@interface MKUIElementTableViewCellButton : MKUIElementTableViewCellBase
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-property-synthesis"
@property(nonatomic,readonly,nullable) __kindof MKUIElementViewButton *el_elementView;
#pragma clang diagnostic pop
@end
NS_ASSUME_NONNULL_END
